<template>
	<view>
		<view class="block" v-if="isAllShow">
			<view  v-if="isShow" class="items flex_jc_sb" @click="$pageGo('/mypage/more/beforeFenshe')">
				<view class="flex">
					<image src="/static/user0.png" mode=""></image>
					<view class="t1">建立分社</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
			</view>
			<view v-if="isShow" class="items flex_jc_sb" @click="$pageGo('/mypage/more/transferInfo')">
				<view class="flex">
					<image src="/static/user1.png" mode=""></image>
					<view class="t1">申请转会</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
			</view>
			<view class="items flex_jc_sb" @click="$pageGo('/mypage/more/contact')">
				<view class="flex">
					<image src="/static/user2.png" mode=""></image>
					<view class="t1">联系分社长</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
			</view>
		</view>
		<view class="block">
			<view class="items flex_jc_sb" @click="$pageGo('/pages/user/agreement?id=1')">
				<view class="flex">
					<image src="/static/user3.png" mode=""></image>
					<view class="t1">用户协议</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
			</view>
			<view class="items flex_jc_sb" @click="$pageGo('/mypage/more/opinion')">
				<view class="flex">
					<image src="/static/user4.png" mode=""></image>
					<view class="t1">意见反馈</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
			</view>
			<view class="items flex_jc_sb">
				<view class="flex">
					<image src="/static/user5.png" mode=""></image>
					<view class="t1">平台客服</view>
				</view>
				<view class="">
					<uni-icons type="right" color="#75613E" size="18"></uni-icons>
				</view>
				<button open-type="contact" class="btn"></button>
			</view>
		</view>
	</view>
</template>

<script setup>
import { ref, reactive, getCurrentInstance,onMounted} from 'vue';
const props = defineProps({
	isShow: {
		type: Boolean,
		default: true
	},
	isAllShow: {
		type: Boolean,
		default: true
	},
});
onMounted(()=>{
	console.log(props.isShow,'----------');
})
</script>
<style lang="scss">
.block {
	width: 710rpx;
	background: #ffffff;
	border-radius: 20rpx 20rpx 20rpx 20rpx;
	margin: 0rpx auto 20rpx;
	padding: 0rpx 20rpx;
	box-sizing: border-box;
	.items {
		position: relative;
		height: 100rpx;
		border-bottom: 1px solid #e5ded1;
		.btn {
			width: 670rpx;
			height: 100rpx;
			position: absolute;
			opacity: 0.1;
		}
		image {
			width: 60rpx;
			height: 60rpx;
			margin-right: 20rpx;
		}
		.t1 {
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 24rpx;
			color: #1b1b1b;
		}
	}
	.items:last-child {
		border: none;
	}
}
</style>
